package com.runfast.waimai.dao.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class RunfastGoodsSellChildren implements Serializable {
    private Integer id;

    private Integer businessId;

    private String businessName;

    private Integer goodsSellId;

    private String goodsSellName;

    private Integer num;

    private String orderCode;

    private Integer pid;

    private Double price;

    private Double totalprice;

    private Integer goodsSellOptionId;

    private String goodsSellOptionName;

    private Integer goodsSellStandardId;

    private String goodsSellStandardName;

    private Date createTime;

    private Integer status;

    private Integer userId;

    private BigDecimal disprice;

    private String optionIds;

    private Integer ptype;

    private Integer activity;

    private Integer errend;

    private Integer activityId;

    private String activityName;

    private Integer activityType;

    private String goods;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public RunfastGoodsSellChildren withId(Integer id) {
        this.setId(id);
        return this;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getBusinessId() {
        return businessId;
    }

    public RunfastGoodsSellChildren withBusinessId(Integer businessId) {
        this.setBusinessId(businessId);
        return this;
    }

    public void setBusinessId(Integer businessId) {
        this.businessId = businessId;
    }

    public String getBusinessName() {
        return businessName;
    }

    public RunfastGoodsSellChildren withBusinessName(String businessName) {
        this.setBusinessName(businessName);
        return this;
    }

    public void setBusinessName(String businessName) {
        this.businessName = businessName == null ? null : businessName.trim();
    }

    public Integer getGoodsSellId() {
        return goodsSellId;
    }

    public RunfastGoodsSellChildren withGoodsSellId(Integer goodsSellId) {
        this.setGoodsSellId(goodsSellId);
        return this;
    }

    public void setGoodsSellId(Integer goodsSellId) {
        this.goodsSellId = goodsSellId;
    }

    public String getGoodsSellName() {
        return goodsSellName;
    }

    public RunfastGoodsSellChildren withGoodsSellName(String goodsSellName) {
        this.setGoodsSellName(goodsSellName);
        return this;
    }

    public void setGoodsSellName(String goodsSellName) {
        this.goodsSellName = goodsSellName == null ? null : goodsSellName.trim();
    }

    public Integer getNum() {
        return num;
    }

    public RunfastGoodsSellChildren withNum(Integer num) {
        this.setNum(num);
        return this;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public String getOrderCode() {
        return orderCode;
    }

    public RunfastGoodsSellChildren withOrderCode(String orderCode) {
        this.setOrderCode(orderCode);
        return this;
    }

    public void setOrderCode(String orderCode) {
        this.orderCode = orderCode == null ? null : orderCode.trim();
    }

    public Integer getPid() {
        return pid;
    }

    public RunfastGoodsSellChildren withPid(Integer pid) {
        this.setPid(pid);
        return this;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public Double getPrice() {
        return price;
    }

    public RunfastGoodsSellChildren withPrice(Double price) {
        this.setPrice(price);
        return this;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Double getTotalprice() {
        return totalprice;
    }

    public RunfastGoodsSellChildren withTotalprice(Double totalprice) {
        this.setTotalprice(totalprice);
        return this;
    }

    public void setTotalprice(Double totalprice) {
        this.totalprice = totalprice;
    }

    public Integer getGoodsSellOptionId() {
        return goodsSellOptionId;
    }

    public RunfastGoodsSellChildren withGoodsSellOptionId(Integer goodsSellOptionId) {
        this.setGoodsSellOptionId(goodsSellOptionId);
        return this;
    }

    public void setGoodsSellOptionId(Integer goodsSellOptionId) {
        this.goodsSellOptionId = goodsSellOptionId;
    }

    public String getGoodsSellOptionName() {
        return goodsSellOptionName;
    }

    public RunfastGoodsSellChildren withGoodsSellOptionName(String goodsSellOptionName) {
        this.setGoodsSellOptionName(goodsSellOptionName);
        return this;
    }

    public void setGoodsSellOptionName(String goodsSellOptionName) {
        this.goodsSellOptionName = goodsSellOptionName == null ? null : goodsSellOptionName.trim();
    }

    public Integer getGoodsSellStandardId() {
        return goodsSellStandardId;
    }

    public RunfastGoodsSellChildren withGoodsSellStandardId(Integer goodsSellStandardId) {
        this.setGoodsSellStandardId(goodsSellStandardId);
        return this;
    }

    public void setGoodsSellStandardId(Integer goodsSellStandardId) {
        this.goodsSellStandardId = goodsSellStandardId;
    }

    public String getGoodsSellStandardName() {
        return goodsSellStandardName;
    }

    public RunfastGoodsSellChildren withGoodsSellStandardName(String goodsSellStandardName) {
        this.setGoodsSellStandardName(goodsSellStandardName);
        return this;
    }

    public void setGoodsSellStandardName(String goodsSellStandardName) {
        this.goodsSellStandardName = goodsSellStandardName == null ? null : goodsSellStandardName.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public RunfastGoodsSellChildren withCreateTime(Date createTime) {
        this.setCreateTime(createTime);
        return this;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getStatus() {
        return status;
    }

    public RunfastGoodsSellChildren withStatus(Integer status) {
        this.setStatus(status);
        return this;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getUserId() {
        return userId;
    }

    public RunfastGoodsSellChildren withUserId(Integer userId) {
        this.setUserId(userId);
        return this;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public BigDecimal getDisprice() {
        return disprice;
    }

    public RunfastGoodsSellChildren withDisprice(BigDecimal disprice) {
        this.setDisprice(disprice);
        return this;
    }

    public void setDisprice(BigDecimal disprice) {
        this.disprice = disprice;
    }

    public String getOptionIds() {
        return optionIds;
    }

    public RunfastGoodsSellChildren withOptionIds(String optionIds) {
        this.setOptionIds(optionIds);
        return this;
    }

    public void setOptionIds(String optionIds) {
        this.optionIds = optionIds == null ? null : optionIds.trim();
    }

    public Integer getPtype() {
        return ptype;
    }

    public RunfastGoodsSellChildren withPtype(Integer ptype) {
        this.setPtype(ptype);
        return this;
    }

    public void setPtype(Integer ptype) {
        this.ptype = ptype;
    }

    public Integer getActivity() {
        return activity;
    }

    public RunfastGoodsSellChildren withActivity(Integer activity) {
        this.setActivity(activity);
        return this;
    }

    public void setActivity(Integer activity) {
        this.activity = activity;
    }

    public Integer getErrend() {
        return errend;
    }

    public RunfastGoodsSellChildren withErrend(Integer errend) {
        this.setErrend(errend);
        return this;
    }

    public void setErrend(Integer errend) {
        this.errend = errend;
    }

    public Integer getActivityId() {
        return activityId;
    }

    public RunfastGoodsSellChildren withActivityId(Integer activityId) {
        this.setActivityId(activityId);
        return this;
    }

    public void setActivityId(Integer activityId) {
        this.activityId = activityId;
    }

    public String getActivityName() {
        return activityName;
    }

    public RunfastGoodsSellChildren withActivityName(String activityName) {
        this.setActivityName(activityName);
        return this;
    }

    public void setActivityName(String activityName) {
        this.activityName = activityName == null ? null : activityName.trim();
    }

    public Integer getActivityType() {
        return activityType;
    }

    public RunfastGoodsSellChildren withActivityType(Integer activityType) {
        this.setActivityType(activityType);
        return this;
    }

    public void setActivityType(Integer activityType) {
        this.activityType = activityType;
    }

    public String getGoods() {
        return goods;
    }

    public RunfastGoodsSellChildren withGoods(String goods) {
        this.setGoods(goods);
        return this;
    }

    public void setGoods(String goods) {
        this.goods = goods == null ? null : goods.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", businessId=").append(businessId);
        sb.append(", businessName=").append(businessName);
        sb.append(", goodsSellId=").append(goodsSellId);
        sb.append(", goodsSellName=").append(goodsSellName);
        sb.append(", num=").append(num);
        sb.append(", orderCode=").append(orderCode);
        sb.append(", pid=").append(pid);
        sb.append(", price=").append(price);
        sb.append(", totalprice=").append(totalprice);
        sb.append(", goodsSellOptionId=").append(goodsSellOptionId);
        sb.append(", goodsSellOptionName=").append(goodsSellOptionName);
        sb.append(", goodsSellStandardId=").append(goodsSellStandardId);
        sb.append(", goodsSellStandardName=").append(goodsSellStandardName);
        sb.append(", createTime=").append(createTime);
        sb.append(", status=").append(status);
        sb.append(", userId=").append(userId);
        sb.append(", disprice=").append(disprice);
        sb.append(", optionIds=").append(optionIds);
        sb.append(", ptype=").append(ptype);
        sb.append(", activity=").append(activity);
        sb.append(", errend=").append(errend);
        sb.append(", activityId=").append(activityId);
        sb.append(", activityName=").append(activityName);
        sb.append(", activityType=").append(activityType);
        sb.append(", goods=").append(goods);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}